package com.ktgj.hotel.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 酒店订单房间明细对象 hotel_order_room
 * 
 * @author ruoyi
 * @date 2021-12-08
 */
public class HotelOrderRoom {
    private static final long serialVersionUID = 1L;

    /** 主键编号 */
    private Long roomid;

    /** 入住人姓名 */
    @Excel(name = "入住人姓名")
    private String guestname;

    /** 房间号 */
    @Excel(name = "房间号")
    private String roomno;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long checkstatus;

    /** 销售房型编号 */
    @Excel(name = "销售房型编号")
    private String roomtypeid;

    /** 销售房型名称 */
    @Excel(name = "销售房型名称")
    private String roomTypeName;

    /** 客人NS原因 */
    @Excel(name = "客人NS原因")
    private Long roomnsid;

    /** 客户证件编码 */
    @Excel(name = "客户证件编码")
    private String guestidno;

    /** 订单号 */
    @Excel(name = "订单号")
    private Long orderid;

    /** 入住日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入住日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date starttime;

    /** 离店日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离店日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endtime;

    /** 实际入住日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际入住日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String actualstarttime;

    /** 实际离店日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际离店日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String actualendtime;

    /** 货币汇率 */
    @Excel(name = "货币汇率")
    private BigDecimal pricerate;

    /** 单位价格 */
    @Excel(name = "单位价格")
    private BigDecimal priceunit;

    /** 总价格 */
    @Excel(name = "总价格")
    private BigDecimal pricetotal;

    /** 单位佣金 */
    @Excel(name = "单位佣金")
    private BigDecimal communit;

    /** 总佣金 */
    @Excel(name = "总佣金")
    private BigDecimal commtotal;

    /** 预订间夜 */
    @Excel(name = "预订间夜")
    private Long rmdy;

    /** 实际入住间夜 */
    @Excel(name = "实际入住间夜")
    private Long actualrmdy;

    /** 实际总价格 */
    @Excel(name = "实际总价格")
    private BigDecimal actualpricetotal;

    /** 实际总佣金 */
    @Excel(name = "实际总佣金")
    private BigDecimal actualcommtotal;

    /** 货币类型 */
    @Excel(name = "货币类型")
    private Long currencyid;

    /** 是否含早 */
    @Excel(name = "是否含早")
    private String breakfastdesc;

    /** 差异化定价之前的单位销售价 */
    @Excel(name = "差异化定价之前的单位销售价")
    private BigDecimal oldmemberprice;

    /** 差异化定价之前的单位佣金 */
    @Excel(name = "差异化定价之前的单位佣金")
    private BigDecimal oldcommission;

    /** 差异化定价让利百分比 */
    @Excel(name = "差异化定价让利百分比")
    private BigDecimal percentage;

    /** 增加天数 */
    @Excel(name = "增加天数")
    private Long adddays;

    /** 增加佣金 */
    @Excel(name = "增加佣金")
    private BigDecimal addcomm;

    /** 实际总佣金 */
    @Excel(name = "实际总佣金")
    private BigDecimal totalcomm;

    /** 是否导出 */
    @Excel(name = "是否导出")
    private Long isexport;

    /** 是否被使用 */
    @Excel(name = "是否被使用")
    private String isused;

    /** 账单流失原因Id */
    @Excel(name = "账单流失原因Id")
    private Long billlostreasonid;

    /** 每日早餐数量（目前只艺龙现付、艺龙预付、自签现付酒店使用） */
    @Excel(name = "每日早餐数量", readConverterExp = "目=前只艺龙现付、艺龙预付、自签现付酒店使用")
    private Long breakfastcount;

    private Date createTime;

    private String picPath;

    public String getPicPath() {
        return picPath;
    }

    public void setPicPath(String picPath) {
        this.picPath = picPath;
    }

    public String getRoomTypeName() {
        return roomTypeName;
    }

    public void setRoomTypeName(String roomTypeName) {
        this.roomTypeName = roomTypeName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setRoomid(Long roomid)
    {
        this.roomid = roomid;
    }

    public Long getRoomid() 
    {
        return roomid;
    }
    public void setGuestname(String guestname) 
    {
        this.guestname = guestname;
    }

    public String getGuestname() 
    {
        return guestname;
    }
    public void setRoomno(String roomno) 
    {
        this.roomno = roomno;
    }

    public String getRoomno() 
    {
        return roomno;
    }
    public void setCheckstatus(Long checkstatus) 
    {
        this.checkstatus = checkstatus;
    }

    public Long getCheckstatus() 
    {
        return checkstatus;
    }
    public void setRoomtypeid(String roomtypeid) 
    {
        this.roomtypeid = roomtypeid;
    }

    public String getRoomtypeid() 
    {
        return roomtypeid;
    }
    public void setRoomnsid(Long roomnsid) 
    {
        this.roomnsid = roomnsid;
    }

    public Long getRoomnsid() 
    {
        return roomnsid;
    }
    public void setGuestidno(String guestidno) 
    {
        this.guestidno = guestidno;
    }

    public String getGuestidno() 
    {
        return guestidno;
    }
    public void setOrderid(Long orderid) 
    {
        this.orderid = orderid;
    }

    public Long getOrderid() 
    {
        return orderid;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public void setActualstarttime(String actualstarttime)
    {
        this.actualstarttime = actualstarttime;
    }

    public String getActualstarttime()
    {
        return actualstarttime;
    }
    public void setActualendtime(String actualendtime)
    {
        this.actualendtime = actualendtime;
    }

    public String getActualendtime()
    {
        return actualendtime;
    }
    public void setPricerate(BigDecimal pricerate) 
    {
        this.pricerate = pricerate;
    }

    public BigDecimal getPricerate() 
    {
        return pricerate;
    }
    public void setPriceunit(BigDecimal priceunit) 
    {
        this.priceunit = priceunit;
    }

    public BigDecimal getPriceunit() 
    {
        return priceunit;
    }
    public void setPricetotal(BigDecimal pricetotal) 
    {
        this.pricetotal = pricetotal;
    }

    public BigDecimal getPricetotal() 
    {
        return pricetotal;
    }
    public void setCommunit(BigDecimal communit) 
    {
        this.communit = communit;
    }

    public BigDecimal getCommunit() 
    {
        return communit;
    }
    public void setCommtotal(BigDecimal commtotal) 
    {
        this.commtotal = commtotal;
    }

    public BigDecimal getCommtotal() 
    {
        return commtotal;
    }
    public void setRmdy(Long rmdy) 
    {
        this.rmdy = rmdy;
    }

    public Long getRmdy() 
    {
        return rmdy;
    }
    public void setActualrmdy(Long actualrmdy) 
    {
        this.actualrmdy = actualrmdy;
    }

    public Long getActualrmdy() 
    {
        return actualrmdy;
    }
    public void setActualpricetotal(BigDecimal actualpricetotal) 
    {
        this.actualpricetotal = actualpricetotal;
    }

    public BigDecimal getActualpricetotal() 
    {
        return actualpricetotal;
    }
    public void setActualcommtotal(BigDecimal actualcommtotal) 
    {
        this.actualcommtotal = actualcommtotal;
    }

    public BigDecimal getActualcommtotal() 
    {
        return actualcommtotal;
    }
    public void setCurrencyid(Long currencyid) 
    {
        this.currencyid = currencyid;
    }

    public Long getCurrencyid() 
    {
        return currencyid;
    }
    public void setBreakfastdesc(String breakfastdesc) 
    {
        this.breakfastdesc = breakfastdesc;
    }

    public String getBreakfastdesc() 
    {
        return breakfastdesc;
    }
    public void setOldmemberprice(BigDecimal oldmemberprice) 
    {
        this.oldmemberprice = oldmemberprice;
    }

    public BigDecimal getOldmemberprice() 
    {
        return oldmemberprice;
    }
    public void setOldcommission(BigDecimal oldcommission) 
    {
        this.oldcommission = oldcommission;
    }

    public BigDecimal getOldcommission() 
    {
        return oldcommission;
    }
    public void setPercentage(BigDecimal percentage) 
    {
        this.percentage = percentage;
    }

    public BigDecimal getPercentage() 
    {
        return percentage;
    }
    public void setAdddays(Long adddays) 
    {
        this.adddays = adddays;
    }

    public Long getAdddays() 
    {
        return adddays;
    }
    public void setAddcomm(BigDecimal addcomm) 
    {
        this.addcomm = addcomm;
    }

    public BigDecimal getAddcomm() 
    {
        return addcomm;
    }
    public void setTotalcomm(BigDecimal totalcomm) 
    {
        this.totalcomm = totalcomm;
    }

    public BigDecimal getTotalcomm() 
    {
        return totalcomm;
    }
    public void setIsexport(Long isexport) 
    {
        this.isexport = isexport;
    }

    public Long getIsexport() 
    {
        return isexport;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getIsused() {
        return isused;
    }

    public void setIsused(String isused) {
        this.isused = isused;
    }

    public void setBilllostreasonid(Long billlostreasonid)
    {
        this.billlostreasonid = billlostreasonid;
    }

    public Long getBilllostreasonid() 
    {
        return billlostreasonid;
    }
    public void setBreakfastcount(Long breakfastcount) 
    {
        this.breakfastcount = breakfastcount;
    }

    public Long getBreakfastcount() 
    {
        return breakfastcount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roomid", getRoomid())
            .append("guestname", getGuestname())
            .append("roomno", getRoomno())
            .append("checkstatus", getCheckstatus())
            .append("roomtypeid", getRoomtypeid())
            .append("roomnsid", getRoomnsid())
            .append("guestidno", getGuestidno())
            .append("orderid", getOrderid())
            .append("starttime", getStarttime())
            .append("endtime", getEndtime())
            .append("actualstarttime", getActualstarttime())
            .append("actualendtime", getActualendtime())
            .append("pricerate", getPricerate())
            .append("priceunit", getPriceunit())
            .append("pricetotal", getPricetotal())
            .append("communit", getCommunit())
            .append("commtotal", getCommtotal())
            .append("rmdy", getRmdy())
            .append("actualrmdy", getActualrmdy())
            .append("actualpricetotal", getActualpricetotal())
            .append("actualcommtotal", getActualcommtotal())
            .append("currencyid", getCurrencyid())
            .append("breakfastdesc", getBreakfastdesc())
            .append("oldmemberprice", getOldmemberprice())
            .append("oldcommission", getOldcommission())
            .append("percentage", getPercentage())
            .append("adddays", getAdddays())
            .append("addcomm", getAddcomm())
            .append("totalcomm", getTotalcomm())
            .append("isexport", getIsexport())
            .append("isused", getIsused())
            .append("billlostreasonid", getBilllostreasonid())
            .append("breakfastcount", getBreakfastcount())
            .toString();
    }
}
